package pers.vic.system.system.mapper;

import org.apache.ibatis.annotations.Param;

import pers.vic.base.annoation.MybatisMapper;
import pers.vic.base.bo.system.SysUser;
import pers.vic.base.mapper.BaseMapper;

/**
 * 系统用户表 Mapper
 * 
 * @author VIC
 */
@MybatisMapper
public interface SysUserMapper extends BaseMapper<SysUser> {

	/**
	 * 根据名称进行查找看是否重复
	 */
	public boolean checkName(@Param("id")Integer id, @Param("username")String username);
	
	/** 根据username查询对象*/
	public SysUser findUserByUsername(@Param("username")String username);
	
}
